@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">

            <input type="hidden" id="id" value="${item.id}">

			
            <div class="row">
                <div class="col-sm-9">
                            <#input id="appName" name="小程序名称" value="${item.appName}" underline="true"/>
                            <#input id="title" name="头部标题" value="${item.title}" underline="true"/>
                            <#input id="appId" name="小程序appId" value="${item.appId}" underline="true"/>
                            <#input id="appSecret" name="小程序appSecret" value="${item.appSecret}" />
                            
                            <div class="form-group">
						    <label class="col-sm-3 control-label">首页选择</label>
						    <div class="col-sm-9">
							     <input type="radio" id="pageType" ${item.pageType==1?'checked':''} name="pageType" value="1" />单页面
						         <input type="radio" id="pageType" ${item.pageType==2?'checked':''} name="pageType" value="2" />首页
	                             <input type="radio" id="pageType" ${item.pageType==3?'checked':''} name="pageType" value="3" />搜索
	                             <input type="radio" id="pageType" ${item.pageType==4?'checked':''} name="pageType" value="4" />发现
	                             <input type="radio" id="pageType" ${item.pageType==5?'checked':''} name="pageType" value="5" />我的
						    </div>
						    </div>  
						    <div class="hr-line-dashed"></div>
						    
						    <div class="form-group">
						    <label class="col-sm-3 control-label">跳转类型</label>
						    <div class="col-sm-9">
						    	 <input type="radio" id="jumpType" name="jumpType" ${item.jumpType==0?'checked':''} value="0"/>无跳转
						    	 <input type="radio" id="jumpType" name="jumpType" ${item.jumpType==1?'checked':''} value="1" />h5
	                             <input type="radio" id="jumpType" name="jumpType" ${item.jumpType==2?'checked':''} value="2" />小程序
						    </div>
						    </div>  
						    <div class="hr-line-dashed"></div>
						    
						      <div class="form-group">
						    <label class="col-sm-3 control-label">跳转方式</label>
						    <div class="col-sm-9">
	                             <input type="radio" id="defaultJumpType" ${item.defaultJumpType==0?'checked':''} name="defaultJumpType" value="0" />无动作
						    	 <input type="radio" id="defaultJumpType" ${item.defaultJumpType==1?'checked':''} name="defaultJumpType" value="1" />自动跳转
						    </div>
						    </div>  
						    <div class="hr-line-dashed"></div>
						    
                            <#input id="jumpAppId" name="跳转appid" value="${item.jumpAppId}" underline="true"/>
                            <#input id="appUrl" name="跳转页面" value="${item.appUrl}" underline="true"/>
                            <#input id="h5Url" name="h5地址" value="${item.h5Url}" underline="true"/>
						    
                            <#input id="pageId" name="页面id" value="${item.pageId}" underline="true"/>
                            <#input id="pageUrl" name="页面URL" value="${item.pageUrl}" underline="true"/>
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="TAppListInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="TAppListInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/app/tAppList/tAppList_info.js"></script>
@}
